import Http from '@/http';

export function listApi() {
    return Http.get('recharge/option/list')
}

export function saveApi(params) {
    return params.id ? Http.put('recharge/option/update', params) : Http.post('recharge/option/add', params)
}

export function delApi(id) {
    return Http.delete('recharge/option/delete/' + id)
}